package com.szcinda.fitness;

import com.szcinda.fitness.persistence.Coach;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CoachRepository extends JpaRepository<Coach,String> {
    Coach findByOpenId(String openId);
    Coach findByPhone(String phone);
}
